package com.twu.biblioteca;

import org.junit.Before;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;

import static org.mockito.Mockito.mock;

public class ConsoleHelper {

    ByteArrayInputStream input;

//    ByteArrayOutputStream output = new ByteArrayOutputStream();
//    PrintStream stream = new PrintStream(output);
    PrintStream out;
    @Before
    public void setUp() {

        out = mock(PrintStream.class);
    }


//    public String outputLine(int numberOfLine) {
//        String outputLines[] = out.toString().split("\n");
//        return outputLines[numberOfLine];
//    }

}
